javascript split and trim

46

javascript split and trim -

var arr = str.split(",").map(item => item.trim());

Comments

Submit
0 Comments